@import "spectre/spectre.min.css";
@import "spectre/spectre-exp.min.css";
@import "spectre/spectre-icon.min.css";
@import "./icons.css";
@import "./auto.css";
@import "./typecho-comment.css";

:ROOT {
    --pic: url("images/5.webp");
    --cov: url("images/bgcover.jpeg");
    /*--pic: url("https://zhangyixuan.net/static/cover/cover1.webp");*/
    --defaultText: #141a23e2;
    --secText: #2c3541c0;
    --primaryText: #2B9BCC;
}

*::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 1px;
    height: 1px;
    background-color: #ddd;
}

/* 美化滚动条的滑块 */
::-webkit-scrollbar-thumb {
    background-color: #2B9BCC;
    /* 滑块的背景颜色 */
    border-radius: 10px;
    /* 滑块的圆角 */
    border: 0;
    /* 滑块边框 */
}

/* 当滑块悬停或活动时的样式 */
::-webkit-scrollbar-thumb:hover {
    background: #2B9BCC;
    /* 悬停或活动状态下滑块的背景颜色 */
}

.-disabled {
    cursor: not-allowed !important;
}

html,
body {
    /* font-family: "LiSong Pro", SimSong, "Songti SC", STFangsong, serif; */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 13px;
}

.bg-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.bg-image.-full {
    background-size: 140px !important;
}

.bg-image>.-inner {
    position: relative;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, .5);
    border-radius: 1.5ex;
    display: flex;
    align-items: center;
}

.text-black {
    color: black !important;
}

.w-100 {
    width: 100%;
}

.d-flex {
    display: flex;
    width: 100%;
}

.a-center {
    align-items: center;
}

.j-center {
    justify-content: center;
}

.j-end {
    justify-content: flex-end;
}

.f1 {
    flex: 1;
}

.text-tiny1 {
    font-size: 10px;
}

.text-sec-gray {
    color: #666;
}

.text-trd-gray {
    color: rgba(0, 0, 0, .3);
}

a,
a:hover {
    text-decoration: none !important;
}

.-header-cover {
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    height: 100vh;
    justify-content: center;
    display: flex;
    border-right: solid 1px #ddd;
}

.-header-cover.-today>.-blur {
    /* background-color: white !important; */
}

.-header-cover>.-blur {
    /* background-color: rgba(255, 255, 255, .86); */
    background: linear-gradient(to bottom, rgba(255, 255, 255, .6), rgba(255, 255, 255, .8), rgba(255, 255, 255, .7), rgba(255, 255, 255, .2), rgba(255, 255, 255, .3), rgba(255, 255, 255, .5));
    backdrop-filter: blur(100px);
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    left: 0;
    top: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.-header-cover>.inner {
    background-color: #e7e7e7;
    position: absolute;
    bottom: 10%;
    backdrop-filter: blur(10px);
    border-radius: 1.7ex;
    max-width: 25%;
    z-index: 2;
    box-shadow: 10px 10px 20px 5px rgba(0, 0, 0, .5);
    overflow: hidden;
}

.-header-cover>.inner>img {
    width: 100%;
    display: block;
}

.-header-cover .--logo {
    margin-top: 25%;
    width: 200px !important;
    padding: 0 10px;
    border-radius: 1ex;
    /* background-color: rgba(255, 255, 255, .25); */
    font-size: small;
}

.-header-cover-item {
    background-color: rgba(255, 255, 255, .6);
    padding: 10px;
    border-radius: 100px;
    margin-top: 10px;
    margin-right: 10px;
}

.-header-cover-item:last-child {
    margin-right: 0;
}

.navbar-section {
    border-bottom: solid 1px #ddd;
}

.navbar-section a {
    font-size: 13px;
}

.scroller-x {
    overflow-x: scroll;
}

.scroller-y {
    overflow-y: scroll;
    height: 100%;
    overflow-x: hidden;
}

.cate-item {
    /* width: calc(100% - 10px); */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    /* margin: 0 10px 0 0; */
    transition: 300ms;
    /* margin: 5px 0; */
    /* padding-bottom: 10px; */
    padding: 10px;
    cursor: pointer;
    transition: 200ms;
    border-bottom: solid 1px #ddd;
}

.cate-item:hover,
.cate-item.active {
    color: var(--primaryText);
}

.cate-item:last-child {
    border-bottom: none;
}

.m-auto {
    margin: 0 auto;
}

.chip {
    font-size: 9px;
}

.-info-viewer {
    margin: 10px 5px;
    background-color: #f7f7f7;
    padding: 5px;
    border-radius: .5ex;
}

.-info-viewer .big-val {
    font-size: larger;
    font-weight: bolder;
    text-align: center;
    font-family: monospace, Verdana, Geneva, Tahoma, sans-serif;
}

.-info-viewer .desc {
    font-size: 12px;
    color: #444;
}

.-counter {
    padding: 10px;
    border-bottom: solid 1px #ddd;
}

.page-title {
    text-align: center;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secText);
}

.hotword-item {
    margin: 10px;
    height: 75px;
    border-radius: .5ex;
    padding: 10px;
    background-color: #f7f7f7;
    overflow: hidden;
    font-size: 13px;
}

.hotword-item.hotword-title {
    /* display: flex;
    align-items: center;
    justify-content: center; */
    text-transform: uppercase;
    color: var(--secText);
    line-height: 55px;
}

.hotword-item.hotword-title .sub {
    color: rgba(0, 0, 0, .1);
    font-size: 3rem;
    font-weight: lighter;
    /* text-indent: -20%; */
    text-align: right;
}

.hotword-item.hotword-title .main {
    position: relative;
    top: -100%;
    /* font-weight: bolder; */
    font-size: 2rem;
    font-family: monospace, Arial, Helvetica, sans-serif;
    /* text-indent: 20%; */
    text-align: left;
    color: var(--primaryText);
}

.hotword-item>.content {
    cursor: pointer;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    border-radius: .5ex;
    margin: 10px 15px 10px 10px;
    position: relative;
    top: -30px;
    right: 0;
    transition: 200ms;
}

.hotword-item>.no {
    display: inline-block;
    position: relative;
    top: -15px;
    right: calc(-100% + 10px);
    width: 20px;
    height: 25px;
    line-height: 30px;
    background-color: var(--primaryText);
    text-align: center;
    color: whitesmoke;
    border-bottom-left-radius: .3ex;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: small;
}

.hotword-item>.link {
    color: var(--defaultText);
    transition: 200ms;
}

.hotword-item:hover>.content,
.hotword-item:hover>.link {
    color: #e85600;
}

.site_desc {
    padding: 25px;
    /* background-color: #f7f7f7; */
    border-radius: 1.3ex;
    margin: 0 10px;
    font-size: smaller;
    /* text-align: center; */
}

.site_cover {
    width: 350px;
    height: 150px;
    margin: 0 auto;
}

.archive-item {
    border-bottom: solid 1px #ddd;
    margin: 15px 0;
}

.no-border {
    border: none;
}

.-border-primary {
    border: solid 1px var(--primaryText);
}

.archive-content {
    color: #666;
    margin-top: 20px;
    font-size: small;
}

.archive-content img {
    margin: 0 auto;
    max-width: calc(100% - 5px);
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, .5);
    border: solid 1px white;
    border-radius: 1ex;
    max-height: 60vh;
}

.archive-title {
    color: var(--primaryText);
    transition: 200ms;
    cursor: pointer;
}

.archive-title:hover {
    color: #e85600;
}

.page-navigator a {
    transition: 200ms;
}

.page-navigator a:hover {
    color: #e85600;
}

.page-navigator {
    list-style-type: none;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-navigator>li {
    margin: 10px 0;
    padding: 10px;
}

.page-navigator>li a {
    color: var(--secText);
}

.page-navigator>li.current a {
    color: var(--primaryText);
}

.bing-data-item {
    margin: 15px 10px;
    background-color: #f7f7f7;
    border-radius: 1.5ex;
    padding-bottom: 10px;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, .1);
}

.bing-data-item .bing-data-img {
    display: flex;
    transition: 200ms;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 1ex;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, .4);
}

.bing-data-item .bing-item-title,
.bing-data-item .bing-item-date,
.bing-data-item .bing-item-copyright {
    margin: 0 10px;
}

.bing-data-item .bing-item-title {
    color: var(--primaryText);
    font-size: 14px;
}

.bing-data-item .bing-item-copyright {
    color: var(--secText);
    font-size: 13px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    height: 35px;
    line-height: 18px;
}

.bing-data-item .bing-item-date {
    font-size: 10px;
    color: lightgray;
    margin-top: 5px;
}

.bing-data-item .bing-item-btns {
    margin: 10px 10px 0 10px;
    width: calc(100% - 20px);
    display: none;
    transition: 200ms;
}

.bing-data-item:hover .bing-item-btns {
    display: flex;
}

.bing-data-item>.bing-item-btns>.-header-cover-item {
    background-color: transparent;
}

.bing-data-item>.bing-item-btns .-icon {
    width: 25px;
    height: 25px;
}

.bing-data-item .-header-cover-item {
    margin: 0 5px;
    backdrop-filter: blur(3px);
}

.prt {
    position: fixed;
    top: 15px;
    left: 15px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.bing-content {
    margin: 15px 10vw;
    font-size: 14px;
    color: var(--secText);
}

.pro-title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.pro-title .main {
    color: rgba(0, 0, 0, .1);
    text-transform: uppercase;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    position: relative;
    top: 1rem;
    left: -2rem;
}

.pro-title .sub {
    color: var(--primaryText);
}

.-content img:not(.anchorBL>img) {
    margin: 15px auto;
    max-width: calc(100% - 5px);
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, .5);
    border-radius: 1ex;
    max-height: 60vh;
}

.-content-title>.archive_title {
    font-size: 18px;
    padding: 5px;
    color: var(--primaryText);
    border-bottom: solid 1px #ddd;
}

.-content-title>.archive_date {
    color: var(--secText);
    font-size: 13px;
}

.-content {
    font-size: 14px;
}

.post-near {
    margin: 100px 0;
}

.post-near,
.post-near>li {
    list-style-type: none !important;
}

.post-near a {
    color: var(--primaryText);
    transition: 200ms;
}

.post-near a:hover {
    color: #e85600;
}

.-comment-item {
    margin: 10px;
    background-color: #f7f7f7;
    border-radius: .5ex;
    padding: 10px;
}

.-comment-item>.-comment-item-title {
    /* font-weight: bold; */
    /* color: var(--primaryText); */
}

.-comment-item>.-comment-item-cont {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 17px;
    height: 42px;
    font-family: Arial, Helvetica, sans-serif;
    background-color: white;
    border-radius: 1ex;
    padding: 5px 10px;
    margin-top: 10px;
}

.-comment-item>.-comment-item-foot {
    margin-top: 10px;
}

.goTop {
    position: fixed;
    bottom: -50vh;
    right: -50vw;
    width: 34px;
    height: 34px;
    cursor: pointer;
    background-color: white;
    border-radius: 100px;
    border: solid 2px white;
}

.goTop.active {
    animation: showGoTop;
    animation-fill-mode: forwards;
    animation-duration: 500ms;
}

.-mine {
    margin: 20px 0 0 0;
    border-bottom: solid 1px #ddd;
}

.-mine>.--body,
.-mine>.--body-sm {
    width: 75%;
    margin: 5px auto;
    padding-bottom: 10px;
}

.-mine>.--body-sm>div,
.-mine>.--body>div {
    color: darkgray;
    font-size: smaller;
    margin: 5px 0;
    background-color: #f7f7f7;
    border-radius: 1ex;
    padding: 5px;
    text-align: center;
}

.-mine>.--body>div {
    display: flex;
    align-items: center;
    text-align: left !important;
}

.--says-item {
    margin-top: 50px;
    margin-bottom: 50px;
}

.--says-body {
    color: dimgray;
    padding: 10px;
    border-radius: 1ex;
    margin-top: 5px;
}

.-says-content>p:last-child {
    margin: 0;
}

.-says-content img {
    margin: 0 auto;
    max-width: calc(100% - 5px);
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, .5);
    border-radius: 1ex;
    max-height: 30vh;
}

.---img-group {
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, .5);
    background-color: #efefef;
    min-height: 120px;
    overflow: hidden;
    border-radius: 1.3ex;
    margin: 15px 0;
}

.---img-group img {
    display: none;
    box-shadow: none !important;
}

.---img-group>.---list {
    display: block;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 1.3ex;
}

.---img-group>.---list>.bg-cover {
    display: inline-block;
    width: 33.3333%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: -6px;
}

.---img-group>.---list>.bg-cover>.cover-title {
    background-color: black;
    color: darkgray;
    padding: 5px;
}

.---selector-item {
    border-radius: 1ex;
    border: solid 5px white;
    transition: 200ms;
    margin-top: 15px;
    margin-right: 5px;
    cursor: pointer;
}

.---selector-item:last-child {
    margin-right: 0;
}

.---selector-item.active {
    border: solid 5px var(--primaryText);
}

.window-cover {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: -200vh;
    left: 0;
    z-index: 999;
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 500ms;
}

.window-cover.active {
    top: 0;
}

.window-cover .--cover#--cover,
.window-cover img {
    max-width: 80%;
    max-height: 60vh;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
    border-radius: 1ex;
}

.a-link a {
    cursor: default;
    color: var(--primaryText);
}

.archive-map-container {
    width: 100%;
    margin: 10px auto 50px auto;
    height: 40vh;
    border: solid 1px white;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, .5);
    border-radius: 1ex;
    overflow: hidden;
}

video {
    object-fit: cover;
    width: 100%;
    height: 40vh;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, .5);
    border-radius: 1ex;
    overflow: hidden;
}